package com.baoteng.rbspy.model.quote;

import com.baoteng.rbspy.model.Id;

public class Seller {

	int index;
	String prefix="prpCSellers";
	private String agentname;
	private String sellername;
	private String mainflag;
	private Double sellfee;
	private Double sellfeerate;
	private String sellercode;
	private String sellfeetype;
	private String businessnature;
	private String agentcode;
	private String sellerno;
	private String sellertype;
	String proposalno;
	Integer serialno;
	String sellfeetype_select;
	String businessnature_select;
	private Id id;

	public String getBusinessnature_select() {
		return businessnature_select;
	}

	public void setBusinessnature_select(String businessnature_select) {
		this.businessnature_select = businessnature_select;
	}

	public String getAgentname() {
		return agentname;
	}

	public void setAgentname(String agentname) {
		this.agentname = agentname;
	}

	public String getSellername() {
		return sellername;
	}

	public void setSellername(String sellername) {
		this.sellername = sellername;
	}

	public String getMainflag() {
		return mainflag;
	}

	public void setMainflag(String mainflag) {
		this.mainflag = mainflag;
	}

	public Double getSellfee() {
		return sellfee;
	}

	public void setSellfee(Double sellfee) {
		this.sellfee = sellfee;
	}

	public Double getSellfeerate() {
		return sellfeerate;
	}

	public void setSellfeerate(Double sellfeerate) {
		this.sellfeerate = sellfeerate;
	}

	public String getSellercode() {
		return sellercode;
	}

	public void setSellercode(String sellercode) {
		this.sellercode = sellercode;
	}

	public String getSellfeetype() {
		return sellfeetype;
	}

	public void setSellfeetype(String sellfeetype) {
		this.sellfeetype = sellfeetype;
	}

	public String getBusinessnature() {
		return businessnature;
	}

	public void setBusinessnature(String businessnature) {
		this.businessnature = businessnature;
	}

	public String getAgentcode() {
		return agentcode;
	}

	public void setAgentcode(String agentcode) {
		this.agentcode = agentcode;
	}

	public String getSellerno() {
		return sellerno;
	}

	public void setSellerno(String sellerno) {
		this.sellerno = sellerno;
	}

	public String getSellertype() {
		return sellertype;
	}

	public void setSellertype(String sellertype) {
		this.sellertype = sellertype;
	}

	public Id getId() {
		return id;
	}

	public void setId(Id id) {
		this.id = id;
	}

	public String getSellfeetype_select() {
		return sellfeetype_select;
	}

	public void setSellfeetype_select(String sellfeetype_select) {
		this.sellfeetype_select = sellfeetype_select;
	}
	public int getIndex() {
		return index;
	}

	public void setIndex(int index) {
		this.index = index;
	}

	public String getPrefix() {
		return prefix;
	}

	public void setPrefix(String prefix) {
		this.prefix = prefix;
	}

	public String getProposalno() {
		return (id!=null)?id.getProposalNo():proposalno;
	}

	public void setProposalno(String proposalno) {
		this.proposalno = proposalno;
	}

	public Integer getSerialno() {
		return (id!=null)?id.getSerialNo():serialno;
	}

	public void setSerialno(Integer serialno) {
		this.serialno = serialno;
	}

}
